home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 1 / Precision Software Applications Silver Collection Volume One (PSM) (1993).iso / tutor / cptuts22.arj / VEHICLE.H < prev    next >
C/C++ Source or Header  |  1992-01-20  |  350b  |  19 lines

  1.                                   // Chapter 7 - Program 1
  2. // vehicle header file
  3.  
  4. #ifndef VEHICLE_H
  5. #define VEHICLE_H
  6.  
  7. class vehicle {
  8. protected:
  9.    int wheels;
  10.    float weight;
  11. public:
  12.    void initialize(int in_wheels, float in_weight);
  13.    int get_wheels(void);
  14.    float get_weight(void);
  15.    float wheel_loading(void);
  16. };
  17.  
  18. #endif
  19.